force-use-luajit-system
authorAron Xu <aron@debian.org>
Fri, 25 Nov 2016 16:51:25 +0000 (16:51 +0000)
committerJean Baptiste Favre <debian@jbfavre.org>
Fri, 25 Nov 2016 16:51:25 +0000 (16:51 +0000)
Gbp-Pq: Name 0004-force-use-luajit-system.patch

configure
configure.ac

index 32464585ebb418b1468c2c8697850fca18286493..50fcb6547bcacffda55cb1ea0a364088894b71c2 100755 (executable)
--- a/configure
+++ b/configure
@@ -26747,7 +26747,7 @@ esac
 
 # Flags for building and linking against our internal copy of LuaJIT.
 
-LUAJIT_CPPFLAGS='-I$(top_srcdir)/lib/luajit/src'
+LUAJIT_CPPFLAGS='-I/usr/include/luajit-2.0'
 
 
 # We should be able to build http_load if epoll(2) is available.
index 2db079ce93f76e8f03b3f71ef6aca41600dd7407..e524bb79c74632e219c17e8e1c7e32065c0bdddc 100644 (file)
@@ -1401,7 +1401,7 @@ esac
 
 # Flags for building and linking against our internal copy of LuaJIT.
 AC_SUBST([LUAJIT_LDFLAGS])
-AC_SUBST([LUAJIT_CPPFLAGS], ['-I$(top_srcdir)/lib/luajit/src'])
+AC_SUBST([LUAJIT_CPPFLAGS], ['-I/usr/include/luajit-2.0'])
 
 # We should be able to build http_load if epoll(2) is available.
 AM_CONDITIONAL([BUILD_HTTP_LOAD], [test x"$ac_cv_func_epoll_ctl" = x"yes"])